<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{layout/layout}">
<head>

</head>
<body>
<div layout:fragment="content">

    <h1 th:text="#{licence.import}">厂商证照导入</h1>
    <div>
        <form id="userForm" class="form-horizontal" th:action="@{/supplier/import}" method="post" enctype="multipart/form-data">
            <div class="form-group">
                <label class="col-sm-2 control-label" th:text="#{uploadCSV}">上传CSV文件</label>
                <div class="col-sm-4">
                    <input type="file" name="file" accept=".csv"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-1">
                    <input type="submit" th:value="#{submit}" class="btn btn-info"/>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>
